package edu.scause.gs.model;

/**
 * AbstractMsg entity provides the base persistence definition of the Msg
 * entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractMsg implements java.io.Serializable {

	// Fields

	private Integer msgid;
	private Admin admin;
	private Client client;
	private String goodsname;
	private Integer amount;
	private String shoppingdate;

	// Constructors

	/** default constructor */
	public AbstractMsg() {
	}

	/** minimal constructor */
	public AbstractMsg(Admin admin, Client client) {
		this.admin = admin;
		this.client = client;
	}

	/** full constructor */
	public AbstractMsg(Admin admin, Client client, String goodsname,
			Integer amount, String shoppingdate) {
		this.admin = admin;
		this.client = client;
		this.goodsname = goodsname;
		this.amount = amount;
		this.shoppingdate = shoppingdate;
	}

	// Property accessors

	public Integer getMsgid() {
		return this.msgid;
	}

	public void setMsgid(Integer msgid) {
		this.msgid = msgid;
	}

	public Admin getAdmin() {
		return this.admin;
	}

	public void setAdmin(Admin admin) {
		this.admin = admin;
	}

	public Client getClient() {
		return this.client;
	}

	public void setClient(Client client) {
		this.client = client;
	}

	public String getGoodsname() {
		return this.goodsname;
	}

	public void setGoodsname(String goodsname) {
		this.goodsname = goodsname;
	}

	public Integer getAmount() {
		return this.amount;
	}

	public void setAmount(Integer amount) {
		this.amount = amount;
	}

	public String getShoppingdate() {
		return this.shoppingdate;
	}

	public void setShoppingdate(String shoppingdate) {
		this.shoppingdate = shoppingdate;
	}

}